{include file='common/head.html'}

<div class="layui-body">
    <div class="layui-tab layui-tab-brief" lay-filter="tab">
        <ul class="layui-tab-title">
            <li class="layui-this" lay-id="t1"><a href="{url./admin/Edit/index}">模板管理</a></li>

            <li><a href="{url./admin/Edit/add}">添加</a></li>
                  <li><a href="#" onclick="javascript:history.back(-1);">返回上一页</a></li>
        </ul>

        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">

                <input type="hidden" name="formcheck" value="{$formcheck}">
                <div class="layui-form-item">
                    <label class="layui-form-label">路径</label>
                    <div class="layui-input-block" style="line-height: 1.3">
                        <label style="width: 100%;text-align: left" class="layui-form-label">{$filepath}</label>
                    </div>
                </div>
                <form action="{url./admin/Edit/edit}" method="post" class="layui-form">
                    <input type="hidden" name="formcheck" value="{$formcheck}" >

                    <input hidden name="filepath" value="{$filepath}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">内容</label>
                        <div class="layui-input-block">
                            <textarea style="height: 400px" name="fileinfo"  class="layui-textarea">{$fileinfo}</textarea>
                        </div>
                    </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" type="submit" lay-submit>立即提交</button>
                    </div>
                </div>
                </form>

            </div>
        </div>
    </div>
</div>

{include file='common/foot.html'}
